package com.pay.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhouyihe
 * @since 2024-04-23
 */
@Data
@TableName("merchant_secret_key")
@ApiModel(value="MerchantSecretKey对象", description="")
public class MerchantSecretKeyDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id，自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商户id
     */
    private String merchantId;

    /**
     * 应用id
     */
    private String appId;

    /**
     * 应用密钥
     */
    private String appKey;

    /**
     * 是否禁用，0正常，1停止
     */
    @ApiModelProperty(value = "0正常 ，1停止")
    private Integer disabled;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;

    /**
     * 更新时间
     */
    private LocalDateTime updateDate;
    
    /**
     * 商户端盐值
     */
    private String saltKey;
    private String permissionList;
    
    @Override
    public String toString() {
        return "MerchantSecretKeyDO{" +
                "id=" + id +
                ", merchantId='" + merchantId + '\'' +
                ", appId='" + appId + '\'' +
                ", appKey='" + appKey + '\'' +
                ", disabled=" + disabled +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", saltKey='" + saltKey + '\'' +
                ", permissionList='" + permissionList + '\'' +
                '}';
    }
}
